package com.xinbochuang.machine.admin.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * @author whz
 */
public class FileInfo implements Serializable{


    private String id;
    private String name;
    private Long length;
    private String md5;
    private String createUser;
    private Date createTime;
    private String descn;
    private String uri;
    private String uriThumb;
    private int status;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getLength() {
        return length;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescn() {
        return descn;
    }

    public void setDescn(String descn) {
        this.descn = descn;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }


    public String getUriThumb() {
        return uriThumb;
    }

    public void setUriThumb(String uriThumb) {
        this.uriThumb = uriThumb;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "FileInfo{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", length=" + length +
                ", md5='" + md5 + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", descn='" + descn + '\'' +
                ", uri='" + uri + '\'' +
                ", uriThumb='" + uriThumb + '\'' +
                ", status"+  status+
                '}';
    }
}
